﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace BDPAutodetect.Mgrcore
{
    /// <summary>
    /// 全局定义
    /// </summary>
    public class GlobalDefine
    {
        /// <summary>
        /// 配置相对文件夹路径
        /// </summary>
        public const string CONFIG = "Config";
        /// <summary>
        /// 配置设备文件名称
        /// </summary>
        public const string CONFIG_DEVICE_NAME = "Devicecfg.xml";
        /// <summary>
        /// 程序集名称
        /// </summary>
        public const string ASSEMBLY_NAME = "BDPAutodetect.Client";
        /// <summary>
        /// 导出路径
        /// </summary>
        public const string EXPORT = "Export";

        /// <summary>
        /// 日期的午夜时间点
        /// </summary>
        public static TimeSpan MidnightTimeSpan = new TimeSpan(0, 23, 59, 59, 999, 999);

        /// <summary>
        /// 配置设备文件相对路径名称
        /// </summary>
        public static string ConfigDevicePathName => Path.Combine(CONFIG, CONFIG_DEVICE_NAME);
    }
}
